<?php $this->_extends('_layouts/index_layout'); ?>

<?php $this->_block('contents'); ?>

<!-- 主题文章 -->
<?php foreach ($topics as $topic): ?>

<div class="topic-show">

  <div class="topics-thumb right">
    <?php if ($topic->thumb_filename): ?><img src="<?php echo "{$_BASE_DIR}{$topic->thumb_src}"; ?>" /><?php endif; ?>
  </div>

  <div class="topics-title">
    <h1><a href="<?php echo h($topic->url); ?>" class="hot"><?php echo h($topic->title); ?></a></h1>
  </div>


  <div class="topics-contents">
    <div class="formatted">
	  <?php echo $topic->body_formatted; ?>
	</div>
	
	<p>
	  [<a href="<?php echo h($topic->url); ?>">点击阅读全文...</a>]
	</p>

    <hr />
  </div>

</div>

<?php endforeach; ?>

<!-- /主题文章 -->

<?php $this->_endblock(); ?>
